package com.dji.sample.manage.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yjt
 * @date 2023-02-09
 * @description:
 */
@Data
public class StreamDTO implements Serializable {

    private static final long serialVersionUID = 3541642651599872225L;

    public String roomId;

    private String streamId;

    private String streamUrl;

    private String tcUrl;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
